package com.group11.invite.service;

import com.group11.common.pojo.Job;
import com.group11.common.pojo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("service-job")
public interface JobService {

    @GetMapping("getByEntId")
    ResponseResult<List<Job>> getByEntId(@RequestParam int id);

}
